const Layout = () => import("@/layout/index.vue");

export default {
  path: "/admin",
  name: "Admin",
  component: Layout,
  redirect: "/admin/index",
  meta: {
    icon: "ep:setting",
    title: "管理员管理",
    rank: 11,
    roles: ["admin", "common"]
  },
  children: [
    {
      path: "/admin/index",
      name: "AdminList",
      component: () => import("@/views/admin/index.vue"),
      meta: {
        title: "管理员",
        showLink: true,
        roles: ["admin", "common"]
      }
    }
  ]
} satisfies RouteConfigsTable;
